const mineSellRoutes = [
  {
    path: "orders",
    name: "Orders",
    component: () => import("@/views/Mine/sell/orders/index.vue"),
  },
  {
    path: "goods",
    name: "Goods",
    component: () => import("@/views/Mine/sell/goods/index.vue"),
  },
  {
    path: "customers",
    name: "Customers",
    component: () => import("@/views/Mine/sell/customers/index.vue"),
  },
  {
    path: "pay",
    name: "Pay",
    component: () => import("@/views/Mine/sell/pay/index.vue"),
  },
  {
    path: "discount",
    name: "Discount",
    component: () => import("@/views/Mine/sell/discount/index.vue"),
  },
  {
    path: "evaluate",
    name: "Evaluate",
    component: () => import("@/views/Mine/sell/evaluate/index.vue"),
  },
  {
    path: "deposit",
    name: "Deposit",
    component: () => import("@/views/Mine/sell/deposit/index.vue"),
  },
];
const mineRoutes: any = [
  {
    path: "resourceMoment",
    name: "ResourceMoment",
    component: () => import("@/views/Mine/resourceMoment/index.vue"),
  },
  {
    path: "member",
    name: "Member",
    component: () => import("@/views/Mine/member/index.vue"),
  },
  {
    path: "wallet",
    name: "Wallet",
    component: () => import("@/views/Mine/wallet/index.vue"),
  },
  {
    path: "coupons",
    name: "Coupons",
    component: () => import("@/views/Mine/coupons/index.vue"),
  },
  {
    path: "order",
    name: "Order",
    component: () => import("@/views/Mine/order/index.vue"),
  },
  {
    path: "sell",
    name: "Sell",
    component: () => import("@/views/Mine/sell/index.vue"),
    children: mineSellRoutes,
  },
  {
    path: "myInfo",
    name: "MyInfo",
    component: () => import("@/views/Mine/myInfo/index.vue"),
  },
];

export default mineRoutes;
